console.log(10000)
for (let i = 0; i < 10000; i++) {
    let a = Math.floor(Math.random() * (3000000 - 1)) + 1;
    let b = Math.floor(Math.random() * (3000000 - 1)) + 1;
    console.log(`${Math.min(a, b)} ${Math.max(a, b)}`);
}
